package com.sanyang.lawyer.mapper.client;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sanyang.lawyer.entity.Client_message;
import org.apache.ibatis.annotations.Insert;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface Client_messageMapper extends BaseMapper<Client_message> {
    
    //通过客户编号查询
    public Client_message getbymessageid(int messageid);
    //查询所有
    public List<Client_message> listall();
    
    //添加数据
    public int insertOne(Client_message message);

    //修改客户详情信息
    public void updatemessage(Client_message client_message);
    //
}
